Error: Windows could not start because the following file is missing or corrupt: \system32\hal.dll
Step 1: Opening a command prompt
-
Turn on the computer and press the F8 key repeatedly when the first screen displays.The Windows Advanced Options menu displays.
-
Use the Up and Down Arrow and Enter keys to select Return to OS choices .
-
Select Microsoft Windows Recovery Console .
-
When the login prompt displays, press the number next to the Windows version (minint or Windows) and type the login password. Try pressing Enter if you do not know the password.
-
At the command prompt, type the following: diskpart
-
Press Enter , and do one the following:
-
If a table of volume names displays, remember the drive letter next to the main drive volume name (usually D or H), and press the Esc key.
-
If a diskpart prompt displays, type list volume , press Enter , remember the drive letter next to the main drive volume name (usually D or H), type exit when done, and then press Enter .
-
NOTE:If Microsoft Windows XP Recovery Console is not listed, restart the computer with a Windows XP CD, Recovery Console CD, or Recovery Tools CD in the top CD or DVD drive and open Microsoft Windows Recovery Console. If a Windows XP Setup screen displays when using Recovery Console CDs, press the R key to open the Recovery Console.
Step 2: Restoring boot.ini
-
Type the following at the command prompt: X: (where X is the drive letter).
-
Press Enter and type the following at the command prompt: attrib -h -s -r boot.ini
-
At the prompt, type the following: ren boot.ini boot.in2
-
Press Enter
-
At the prompt, type the following: ren boot.bak boot.ini
-
Type the following at the command prompt: attrib +h +s +r boot.ini
-
Press Enter.
-
At the prompt, type the following: exit
-
Press Enter.The system automatically restarts. If Windows XP does not open, continue to the next step.
Step 3: Editing boot.ini
-
Turn on the computer and press the F8 key repeatedly when the first screen displays.The Windows Advanced Options menu displays.
-
Use the Up and Down Arrow and Enter keys to select Return to OS choices .
-
Select Microsoft Windows Recovery Console .
-
When the login prompt displays, press the number next to the Windows version (minint or Windows) and type the login password. Try pressing Enter if you do not know the password.
-
At the command prompt, type the following: diskpart
-
Press Enter , and do one the following:
-
If a table of volume names displays, remember the drive letter next to the main drive volume name (usually D or H), and press the Esc key.
-
If a diskpart prompt displays, type list volume , press Enter , remember the drive letter next to the main drive volume name (usually D or H), type exit when done, and then press Enter .
-
-
Type the following at the diskpart prompt: Exit
-
Press Enter and type the drive letter for the main drive volume followed by a colon (: ) at the command prompt. For example, D: .
-
Press Enter and type the following at the command prompt: attrib -h -s -r boot.ini
-
Press Enter and type the following at the command prompt: boot.ini
-
The file opens for editing in Notepad. Edit the boot.ini file to read exactly as follows:
[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
-
Save the file and then Exit from the menu.
-
Type the following at the command prompt: attrib +h +s +r boot.ini
-
Press Enter and type the following at the command prompt: Exit
-
Click Quit on the recovery screen to restart the computer.The computer should now restart without the error message. If the error still occurs, perform a reinstallion of Windows XP
NOTE:If Microsoft Windows XP Recovery Console is not listed, restart the computer with a Windows XP CD, Recovery Console CD, or Recovery Tools CD in the top CD or DVD drive and open Microsoft Windows Recovery Console. If a Windows XP Setup screen displays when using Recovery Console CDs, press the R key to open the Recovery Console.
NOTE:If your computer came with Windows XP Professional, edit the line referring to Home Edition under [operating systems] to read as follows: MULTI(0)DISK(0)RDISK(0)PARTITION(2)\WINDOWS="MICROSOFT WINDOWS XP PROFESSIONAL" /FASTDETECT
TKB:1131